Avoid excessive property notification for GtkStack::interpolate-size
authorMatthias Clasen <mclasen@redhat.com>
Mon, 9 Nov 2015 14:27:40 +0000 (09:27 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 9 Nov 2015 19:53:25 +0000 (14:53 -0500)
make check checks this for writable properties, and fails now that
we've made this property writable.

gtk/gtkstack.c

index b9ba150c23bf6c889cc60c0b0dc09b33f744ea27..c30f650c17cc2e1d7d41854e90ab9a5e1fc08c64 100644 (file)
@@ -474,7 +474,7 @@ gtk_stack_class_init (GtkStackClass *klass)
   stack_props[PROP_INTERPOLATE_SIZE] =
       g_param_spec_boolean ("interpolate-size", P_("Interpolate size"), P_("Whether or not the size should smoothly change when changing between differently sized children"),
                             FALSE,
-                            GTK_PARAM_READWRITE);
+                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
 
   g_object_class_install_properties (object_class, LAST_PROP, stack_props);